Skip to content

Add rehype-external-links for external link handling#681

Merged
khalidabuhakmeh merged 1 commit into
mainfrom
external-links-rehype
Apr 22, 2025
Merged

Add rehype-external-links for external link handling#681
khalidabuhakmeh merged 1 commit into
mainfrom
external-links-rehype

Conversation

@khalidabuhakmeh
Copy link
Copy Markdown
Contributor

Description

This pull request integrates the rehype-external-links package into the project. It configures the Astro framework to open external links in a new tab and adds the noopener and noreferrer attributes for enhanced security and usability.

Changes

  • Included the rehype-external-links package in the project.
  • Updated Astro configuration to manage external links with the specified settings.

This commit integrates the rehype-external-links package into the project and configures it in the Astro config. External links now open in a new tab with "noopener" and "noreferrer" attributes for improved security and usability.
@khalidabuhakmeh khalidabuhakmeh self-assigned this Apr 22, 2025
@khalidabuhakmeh khalidabuhakmeh added the enhancement New feature or request label Apr 22, 2025
@khalidabuhakmeh khalidabuhakmeh merged commit d0c22b8 into main Apr 22, 2025
5 of 6 checks passed
@khalidabuhakmeh khalidabuhakmeh deleted the external-links-rehype branch April 22, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants